﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace MiniSched.Orm {

    public class Job : Entity {

        [Required]
        [MinLength(3)]
        [MaxLength(50)]
        public string JobName { get; set; }

        public ICollection<EventJob> EventJobs { get; set; }

        public ICollection<VolunteerJob> VolunteerJobs { get; set; }
    }
}
